#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
char* my_strcpy(char* dev, const char* src)
{
	char* ret = &(*dev);
	assert(dev && src);
	while (*dev++ = *src++);
	return ret;
}
int main()
{
	char arr[] = "abcd";
	char arr1[] = "ABCD";
	char *p = my_strcpy(arr,arr1);
	for (int i = 0; i < 4; i++)
	{
		printf("%c ", *(p+i));
	}
	return 0;
}